Improve error message.
authoremellor@ewan <emellor@ewan>
Wed, 12 Oct 2005 11:54:43 +0000 (12:54 +0100)
committeremellor@ewan <emellor@ewan>
Wed, 12 Oct 2005 11:54:43 +0000 (12:54 +0100)
tools/python/xen/xend/server/DevController.py

index 1b94f145256aa62f75a80c3778de6b81c3d15b52..8141e890b1a4cbd36534b057be2ee660f1628213 100644 (file)
@@ -82,7 +82,7 @@ class DevController:
         if backpath:
             xstransact.Remove(backpath)
         else:
-            raise VmError("Device not connected")
+            raise VmError("Device %s not connected" % devid)
            
 
     def configurations(self):